package com.ycsj.goldmedalnewconcept.teacher.adapter;

import android.content.Context;
import android.widget.TextView;

import com.ycsj.common.base.CommonAdapter;
import com.ycsj.common.base.ViewHolder;
import com.ycsj.goldmedalnewconcept.R;
import com.ycsj.goldmedalnewconcept.teacher.bean.SortInfo;

import java.util.List;

/**
 * 排序的适配器
 * Created by Administrator on 2018/6/28 0028.
 */

public class SortLvAdapter extends CommonAdapter<SortInfo> {
    public SortLvAdapter(Context context, List<SortInfo> datas, int layoutId) {
        super(context, datas, layoutId);
    }

    @Override
    public void convert(ViewHolder holder, SortInfo info) {
        TextView tvSort = holder.getView(R.id.tv_sort);
        tvSort.setText(info.name);
    }
}
